package com.yunche.iov.mapper;

import com.yunche.iov.entity.DeviceState;
import com.yunche.iov.entity.DeviceStateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceStateMapper {
    int countByExample(DeviceStateExample example);

    int deleteByExample(DeviceStateExample example);

    int deleteByPrimaryKey(Integer deviceId);

    int insert(DeviceState record);

    int insertSelective(DeviceState record);

    List<DeviceState> selectByExample(DeviceStateExample example);

    DeviceState selectByPrimaryKey(Integer deviceId);

    int updateByExampleSelective(@Param("record") DeviceState record, @Param("example") DeviceStateExample example);

    int updateByExample(@Param("record") DeviceState record, @Param("example") DeviceStateExample example);

    int updateByPrimaryKeySelective(DeviceState record);

    int updateByPrimaryKey(DeviceState record);
}